package com.penglecode.netty;

import java.io.Serializable;

public class RequestEntity implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String requestSerialNo;
	
	private String privateKey;
	
	private String interfaceName;
	
	private String shortMethodName;
	
	private String fullMethodName;
	
	private Object[] methodArgs;
	
	private String requestIpAddr;
	
	private String requestTime;

	public RequestEntity(String privateKey, String interfaceName,
			String shortMethodName, String fullMethodName, Object[] methodArgs) {
		super();
		this.privateKey = privateKey;
		this.interfaceName = interfaceName;
		this.shortMethodName = shortMethodName;
		this.fullMethodName = fullMethodName;
		this.methodArgs = methodArgs;
	}

	public RequestEntity(String requestSerialNo, String privateKey, String interfaceName,
			String shortMethodName, String fullMethodName, Object[] methodArgs) {
		super();
		this.requestSerialNo = requestSerialNo;
		this.privateKey = privateKey;
		this.interfaceName = interfaceName;
		this.shortMethodName = shortMethodName;
		this.fullMethodName = fullMethodName;
		this.methodArgs = methodArgs;
	}

	public RequestEntity(String requestSerialNo, String privateKey, String interfaceName,
			String shortMethodName, String fullMethodName, Object[] methodArgs,
			String requestIpAddr, String requestTime) {
		super();
		this.requestSerialNo = requestSerialNo;
		this.privateKey = privateKey;
		this.interfaceName = interfaceName;
		this.shortMethodName = shortMethodName;
		this.fullMethodName = fullMethodName;
		this.methodArgs = methodArgs;
		this.requestIpAddr = requestIpAddr;
		this.requestTime = requestTime;
	}

	public String getRequestSerialNo() {
		return requestSerialNo;
	}

	public void setRequestSerialNo(String requestSerialNo) {
		this.requestSerialNo = requestSerialNo;
	}

	public String getPrivateKey() {
		return privateKey;
	}

	public void setPrivateKey(String privateKey) {
		this.privateKey = privateKey;
	}

	public String getInterfaceName() {
		return interfaceName;
	}

	public void setInterfaceName(String interfaceName) {
		this.interfaceName = interfaceName;
	}

	public String getShortMethodName() {
		return shortMethodName;
	}

	public void setShortMethodName(String shortMethodName) {
		this.shortMethodName = shortMethodName;
	}

	public String getFullMethodName() {
		return fullMethodName;
	}

	public void setFullMethodName(String fullMethodName) {
		this.fullMethodName = fullMethodName;
	}

	public Object[] getMethodArgs() {
		return methodArgs;
	}

	public void setMethodArgs(Object[] methodArgs) {
		this.methodArgs = methodArgs;
	}

	public String getRequestIpAddr() {
		return requestIpAddr;
	}

	public void setRequestIpAddr(String requestIpAddr) {
		this.requestIpAddr = requestIpAddr;
	}

	public String getRequestTime() {
		return requestTime;
	}

	public void setRequestTime(String requestTime) {
		this.requestTime = requestTime;
	}

}
